﻿using System;
using System.CodeDom.Compiler;
using System.Reflection;
using System.Runtime.CompilerServices;
using Prism.Mvvm;
using Syncfusion.ListView.XForms;
using Xamarin.Forms;
using Xamarin.Forms.Internals;
using Xamarin.Forms.Xaml;
using Xamarin.Forms.Xaml.Internals;

namespace AutoR.Views.Setting
{
	// Token: 0x02000028 RID: 40
	[XamlFilePath("Views\\Setting\\ShipSetting.xaml")]
	public class ShipSetting : ContentPage
	{
		// Token: 0x060000A1 RID: 161 RVA: 0x00017107 File Offset: 0x00015307
		public ShipSetting()
		{
			this.InitializeComponent();
		}

		// Token: 0x060000A2 RID: 162 RVA: 0x00017118 File Offset: 0x00015318
		[GeneratedCode("Xamarin.Forms.Build.Tasks.XamlG", "0.0.0.0")]
		private void InitializeComponent()
		{
			if (ResourceLoader.ResourceProvider != null && ResourceLoader.ResourceProvider(typeof(ShipSetting).GetTypeInfo().Assembly.GetName(), "Views/Setting/ShipSetting.xaml") != null)
			{
				this.__InitComponentRuntime();
				return;
			}
			if (XamlLoader.XamlFileProvider != null && XamlLoader.XamlFileProvider(base.GetType()) != null)
			{
				this.__InitComponentRuntime();
				return;
			}
			BindingExtension bindingExtension = new BindingExtension();
			Label label = new Label();
			BindingExtension bindingExtension2 = new BindingExtension();
			Label label2 = new Label();
			StackLayout stackLayout = new StackLayout();
			BindingExtension bindingExtension3 = new BindingExtension();
			Image image = new Image();
			BindingExtension bindingExtension4 = new BindingExtension();
			TapGestureRecognizer tapGestureRecognizer = new TapGestureRecognizer();
			Label label3 = new Label();
			BindingExtension bindingExtension5 = new BindingExtension();
			TapGestureRecognizer tapGestureRecognizer2 = new TapGestureRecognizer();
			Label label4 = new Label();
			BindingExtension bindingExtension6 = new BindingExtension();
			TapGestureRecognizer tapGestureRecognizer3 = new TapGestureRecognizer();
			Label label5 = new Label();
			BindingExtension bindingExtension7 = new BindingExtension();
			TapGestureRecognizer tapGestureRecognizer4 = new TapGestureRecognizer();
			Label label6 = new Label();
			StackLayout stackLayout2 = new StackLayout();
			StackLayout stackLayout3 = new StackLayout();
			Frame frame = new Frame();
			BindingExtension bindingExtension8 = new BindingExtension();
			BindingExtension bindingExtension9 = new BindingExtension();
			TapGestureRecognizer tapGestureRecognizer5 = new TapGestureRecognizer();
			Image image2 = new Image();
			BindingExtension bindingExtension10 = new BindingExtension();
			BindingExtension bindingExtension11 = new BindingExtension();
			TapGestureRecognizer tapGestureRecognizer6 = new TapGestureRecognizer();
			Image image3 = new Image();
			BindingExtension bindingExtension12 = new BindingExtension();
			BindingExtension bindingExtension13 = new BindingExtension();
			TapGestureRecognizer tapGestureRecognizer7 = new TapGestureRecognizer();
			Image image4 = new Image();
			BindingExtension bindingExtension14 = new BindingExtension();
			BindingExtension bindingExtension15 = new BindingExtension();
			TapGestureRecognizer tapGestureRecognizer8 = new TapGestureRecognizer();
			Image image5 = new Image();
			StackLayout stackLayout4 = new StackLayout();
			BindingExtension bindingExtension16 = new BindingExtension();
			Label label7 = new Label();
			BindingExtension bindingExtension17 = new BindingExtension();
			Label label8 = new Label();
			BindingExtension bindingExtension18 = new BindingExtension();
			TapGestureRecognizer tapGestureRecognizer9 = new TapGestureRecognizer();
			Label label9 = new Label();
			BindingExtension bindingExtension19 = new BindingExtension();
			TapGestureRecognizer tapGestureRecognizer10 = new TapGestureRecognizer();
			Label label10 = new Label();
			StackLayout stackLayout5 = new StackLayout();
			BindingExtension bindingExtension20 = new BindingExtension();
			BindingExtension bindingExtension21 = new BindingExtension();
			GridLayout gridLayout = new GridLayout();
			DataTemplate dataTemplate = new DataTemplate();
			SfListView sfListView = new SfListView();
			StackLayout stackLayout6 = new StackLayout();
			NameScope nameScope = new NameScope();
			NameScope.SetNameScope(this, nameScope);
			this.SetValue(ViewModelLocator.AutowireViewModelProperty, new bool?(true));
			this.SetValue(Page.TitleProperty, "舰船配置");
			frame.SetValue(Xamarin.Forms.Layout.PaddingProperty, new Thickness(2.0));
			frame.SetValue(View.MarginProperty, new Thickness(3.0));
			stackLayout.SetValue(StackLayout.OrientationProperty, StackOrientation.Horizontal);
			bindingExtension.Path = "Ship.Name";
			BindingBase binding = ((IMarkupExtension<BindingBase>)bindingExtension).ProvideValue(null);
			label.SetBinding(Label.TextProperty, binding);
			label.SetValue(View.VerticalOptionsProperty, LayoutOptions.Center);
			stackLayout.Children.Add(label);
			bindingExtension2.Path = "Ship.level";
			bindingExtension2.StringFormat = "Lv{0}";
			BindingBase binding2 = ((IMarkupExtension<BindingBase>)bindingExtension2).ProvideValue(null);
			label2.SetBinding(Label.TextProperty, binding2);
			label2.SetValue(View.VerticalOptionsProperty, LayoutOptions.Center);
			label2.SetValue(View.MarginProperty, new Thickness(10.0, 0.0, 0.0, 0.0));
			stackLayout.Children.Add(label2);
			stackLayout3.Children.Add(stackLayout);
			stackLayout2.SetValue(StackLayout.OrientationProperty, StackOrientation.Horizontal);
			bindingExtension3.Path = "Ship.SmallImage";
			BindingBase binding3 = ((IMarkupExtension<BindingBase>)bindingExtension3).ProvideValue(null);
			image.SetBinding(Image.SourceProperty, binding3);
			image.SetValue(VisualElement.WidthRequestProperty, 140.0);
			image.SetValue(VisualElement.HeightRequestProperty, 36.0);
			stackLayout2.Children.Add(image);
			label3.SetValue(Label.TextProperty, "快修");
			label3.SetValue(Label.TextColorProperty, Color.CornflowerBlue);
			label3.SetValue(View.VerticalOptionsProperty, LayoutOptions.Center);
			label3.SetValue(View.MarginProperty, new Thickness(10.0, 0.0, 0.0, 0.0));
			bindingExtension4.Path = "QuickRepairCommand";
			BindingBase binding4 = ((IMarkupExtension<BindingBase>)bindingExtension4).ProvideValue(null);
			tapGestureRecognizer.SetBinding(TapGestureRecognizer.CommandProperty, binding4);
			label3.GestureRecognizers.Add(tapGestureRecognizer);
			stackLayout2.Children.Add(label3);
			label4.SetValue(Label.TextProperty, "澡堂");
			label4.SetValue(Label.TextColorProperty, Color.Cyan);
			label4.SetValue(View.VerticalOptionsProperty, LayoutOptions.Center);
			label4.SetValue(View.MarginProperty, new Thickness(10.0, 0.0, 0.0, 0.0));
			bindingExtension5.Path = "RepairCommand";
			BindingBase binding5 = ((IMarkupExtension<BindingBase>)bindingExtension5).ProvideValue(null);
			tapGestureRecognizer2.SetBinding(TapGestureRecognizer.CommandProperty, binding5);
			label4.GestureRecognizers.Add(tapGestureRecognizer2);
			stackLayout2.Children.Add(label4);
			label5.SetValue(Label.TextProperty, "秘书");
			label5.SetValue(Label.TextColorProperty, Color.Coral);
			label5.SetValue(View.VerticalOptionsProperty, LayoutOptions.Center);
			label5.SetValue(View.MarginProperty, new Thickness(10.0, 0.0, 0.0, 0.0));
			bindingExtension6.Path = "SecretaryCommand";
			BindingBase binding6 = ((IMarkupExtension<BindingBase>)bindingExtension6).ProvideValue(null);
			tapGestureRecognizer3.SetBinding(TapGestureRecognizer.CommandProperty, binding6);
			label5.GestureRecognizers.Add(tapGestureRecognizer3);
			stackLayout2.Children.Add(label5);
			label6.SetValue(Label.TextProperty, "锁定");
			label6.SetValue(Label.TextColorProperty, Color.PowderBlue);
			label6.SetValue(View.VerticalOptionsProperty, LayoutOptions.Center);
			label6.SetValue(View.MarginProperty, new Thickness(10.0, 0.0, 0.0, 0.0));
			bindingExtension7.Path = "LockCommand";
			BindingBase binding7 = ((IMarkupExtension<BindingBase>)bindingExtension7).ProvideValue(null);
			tapGestureRecognizer4.SetBinding(TapGestureRecognizer.CommandProperty, binding7);
			label6.GestureRecognizers.Add(tapGestureRecognizer4);
			stackLayout2.Children.Add(label6);
			stackLayout3.Children.Add(stackLayout2);
			frame.SetValue(ContentView.ContentProperty, stackLayout3);
			stackLayout6.Children.Add(frame);
			stackLayout4.SetValue(StackLayout.SpacingProperty, 0.0);
			stackLayout4.SetValue(StackLayout.OrientationProperty, StackOrientation.Horizontal);
			stackLayout4.SetValue(View.HorizontalOptionsProperty, LayoutOptions.FillAndExpand);
			bindingExtension8.Path = "Ship.Equipment1.Image";
			BindingBase binding8 = ((IMarkupExtension<BindingBase>)bindingExtension8).ProvideValue(null);
			image2.SetBinding(Image.SourceProperty, binding8);
			image2.SetValue(VisualElement.WidthRequestProperty, 32.0);
			image2.SetValue(VisualElement.HeightRequestProperty, 32.0);
			bindingExtension9.Path = "SelectEquipCommand";
			BindingBase binding9 = ((IMarkupExtension<BindingBase>)bindingExtension9).ProvideValue(null);
			tapGestureRecognizer5.SetBinding(TapGestureRecognizer.CommandProperty, binding9);
			tapGestureRecognizer5.SetValue(TapGestureRecognizer.CommandParameterProperty, "0");
			image2.GestureRecognizers.Add(tapGestureRecognizer5);
			stackLayout4.Children.Add(image2);
			bindingExtension10.Path = "Ship.Equipment2.Image";
			BindingBase binding10 = ((IMarkupExtension<BindingBase>)bindingExtension10).ProvideValue(null);
			image3.SetBinding(Image.SourceProperty, binding10);
			image3.SetValue(VisualElement.WidthRequestProperty, 32.0);
			image3.SetValue(VisualElement.HeightRequestProperty, 32.0);
			image3.SetValue(View.MarginProperty, new Thickness(3.0, 0.0, 0.0, 0.0));
			bindingExtension11.Path = "SelectEquipCommand";
			BindingBase binding11 = ((IMarkupExtension<BindingBase>)bindingExtension11).ProvideValue(null);
			tapGestureRecognizer6.SetBinding(TapGestureRecognizer.CommandProperty, binding11);
			tapGestureRecognizer6.SetValue(TapGestureRecognizer.CommandParameterProperty, "1");
			image3.GestureRecognizers.Add(tapGestureRecognizer6);
			stackLayout4.Children.Add(image3);
			bindingExtension12.Path = "Ship.Equipment3.Image";
			BindingBase binding12 = ((IMarkupExtension<BindingBase>)bindingExtension12).ProvideValue(null);
			image4.SetBinding(Image.SourceProperty, binding12);
			image4.SetValue(VisualElement.WidthRequestProperty, 32.0);
			image4.SetValue(VisualElement.HeightRequestProperty, 32.0);
			image4.SetValue(View.MarginProperty, new Thickness(3.0, 0.0, 0.0, 0.0));
			bindingExtension13.Path = "SelectEquipCommand";
			BindingBase binding13 = ((IMarkupExtension<BindingBase>)bindingExtension13).ProvideValue(null);
			tapGestureRecognizer7.SetBinding(TapGestureRecognizer.CommandProperty, binding13);
			tapGestureRecognizer7.SetValue(TapGestureRecognizer.CommandParameterProperty, "2");
			image4.GestureRecognizers.Add(tapGestureRecognizer7);
			stackLayout4.Children.Add(image4);
			bindingExtension14.Path = "Ship.Equipment4.Image";
			BindingBase binding14 = ((IMarkupExtension<BindingBase>)bindingExtension14).ProvideValue(null);
			image5.SetBinding(Image.SourceProperty, binding14);
			image5.SetValue(VisualElement.WidthRequestProperty, 32.0);
			image5.SetValue(VisualElement.HeightRequestProperty, 32.0);
			image5.SetValue(View.MarginProperty, new Thickness(3.0, 0.0, 0.0, 0.0));
			bindingExtension15.Path = "SelectEquipCommand";
			BindingBase binding15 = ((IMarkupExtension<BindingBase>)bindingExtension15).ProvideValue(null);
			tapGestureRecognizer8.SetBinding(TapGestureRecognizer.CommandProperty, binding15);
			tapGestureRecognizer8.SetValue(TapGestureRecognizer.CommandParameterProperty, "3");
			image5.GestureRecognizers.Add(tapGestureRecognizer8);
			stackLayout4.Children.Add(image5);
			stackLayout6.Children.Add(stackLayout4);
			stackLayout5.SetValue(StackLayout.OrientationProperty, StackOrientation.Horizontal);
			bindingExtension16.Path = "SelectPos";
			bindingExtension16.StringFormat = "位置:{0}";
			BindingBase binding16 = ((IMarkupExtension<BindingBase>)bindingExtension16).ProvideValue(null);
			label7.SetBinding(Label.TextProperty, binding16);
			label7.SetValue(View.VerticalOptionsProperty, LayoutOptions.Center);
			BindableObject bindableObject = label7;
			BindableProperty fontSizeProperty = Label.FontSizeProperty;
			IExtendedTypeConverter extendedTypeConverter = new FontSizeConverter();
			string value = "12";
			XamlServiceProvider xamlServiceProvider = new XamlServiceProvider();
			Type typeFromHandle = typeof(IProvideValueTarget);
			object[] array = new object[0 + 4];
			array[0] = label7;
			array[1] = stackLayout5;
			array[2] = stackLayout6;
			array[3] = this;
			object service;
			xamlServiceProvider.Add(typeFromHandle, service = new SimpleValueTargetProvider(array, Label.FontSizeProperty, nameScope));
			xamlServiceProvider.Add(typeof(IReferenceProvider), service);
			Type typeFromHandle2 = typeof(IXamlTypeResolver);
			XmlNamespaceResolver xmlNamespaceResolver = new XmlNamespaceResolver();
			xmlNamespaceResolver.Add("", "http://xamarin.com/schemas/2014/forms");
			xmlNamespaceResolver.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
			xmlNamespaceResolver.Add("prism", "clr-namespace:Prism.Mvvm;assembly=Prism.Forms");
			xmlNamespaceResolver.Add("syncfusion", "clr-namespace:Syncfusion.ListView.XForms;assembly=Syncfusion.SfListView.XForms");
			xamlServiceProvider.Add(typeFromHandle2, new XamlTypeResolver(xmlNamespaceResolver, typeof(ShipSetting).GetTypeInfo().Assembly));
			xamlServiceProvider.Add(typeof(IXmlLineInfoProvider), new XmlLineInfoProvider(new XmlLineInfo(63, 100)));
			bindableObject.SetValue(fontSizeProperty, extendedTypeConverter.ConvertFromInvariantString(value, xamlServiceProvider));
			stackLayout5.Children.Add(label7);
			bindingExtension17.Path = "SelectEquip.title";
			bindingExtension17.StringFormat = "当前选择:{0}";
			BindingBase binding17 = ((IMarkupExtension<BindingBase>)bindingExtension17).ProvideValue(null);
			label8.SetBinding(Label.TextProperty, binding17);
			label8.SetValue(View.VerticalOptionsProperty, LayoutOptions.Center);
			BindableObject bindableObject2 = label8;
			BindableProperty fontSizeProperty2 = Label.FontSizeProperty;
			IExtendedTypeConverter extendedTypeConverter2 = new FontSizeConverter();
			string value2 = "12";
			XamlServiceProvider xamlServiceProvider2 = new XamlServiceProvider();
			Type typeFromHandle3 = typeof(IProvideValueTarget);
			object[] array2 = new object[0 + 4];
			array2[0] = label8;
			array2[1] = stackLayout5;
			array2[2] = stackLayout6;
			array2[3] = this;
			object service2;
			xamlServiceProvider2.Add(typeFromHandle3, service2 = new SimpleValueTargetProvider(array2, Label.FontSizeProperty, nameScope));
			xamlServiceProvider2.Add(typeof(IReferenceProvider), service2);
			Type typeFromHandle4 = typeof(IXamlTypeResolver);
			XmlNamespaceResolver xmlNamespaceResolver2 = new XmlNamespaceResolver();
			xmlNamespaceResolver2.Add("", "http://xamarin.com/schemas/2014/forms");
			xmlNamespaceResolver2.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
			xmlNamespaceResolver2.Add("prism", "clr-namespace:Prism.Mvvm;assembly=Prism.Forms");
			xmlNamespaceResolver2.Add("syncfusion", "clr-namespace:Syncfusion.ListView.XForms;assembly=Syncfusion.SfListView.XForms");
			xamlServiceProvider2.Add(typeFromHandle4, new XamlTypeResolver(xmlNamespaceResolver2, typeof(ShipSetting).GetTypeInfo().Assembly));
			xamlServiceProvider2.Add(typeof(IXmlLineInfoProvider), new XmlLineInfoProvider(new XmlLineInfo(64, 110)));
			bindableObject2.SetValue(fontSizeProperty2, extendedTypeConverter2.ConvertFromInvariantString(value2, xamlServiceProvider2));
			stackLayout5.Children.Add(label8);
			label9.SetValue(Label.TextProperty, "移除");
			label9.SetValue(Label.TextColorProperty, Color.OrangeRed);
			label9.SetValue(View.VerticalOptionsProperty, LayoutOptions.Center);
			label9.SetValue(View.HorizontalOptionsProperty, LayoutOptions.EndAndExpand);
			bindingExtension18.Path = "EquipRemoveCommand";
			BindingBase binding18 = ((IMarkupExtension<BindingBase>)bindingExtension18).ProvideValue(null);
			tapGestureRecognizer9.SetBinding(TapGestureRecognizer.CommandProperty, binding18);
			label9.GestureRecognizers.Add(tapGestureRecognizer9);
			stackLayout5.Children.Add(label9);
			label10.SetValue(Label.TextProperty, "确定");
			label10.SetValue(Label.TextColorProperty, Color.Green);
			label10.SetValue(View.VerticalOptionsProperty, LayoutOptions.Center);
			label10.SetValue(View.MarginProperty, new Thickness(20.0, 0.0, 5.0, 0.0));
			bindingExtension19.Path = "EquipOKCommand";
			BindingBase binding19 = ((IMarkupExtension<BindingBase>)bindingExtension19).ProvideValue(null);
			tapGestureRecognizer10.SetBinding(TapGestureRecognizer.CommandProperty, binding19);
			label10.GestureRecognizers.Add(tapGestureRecognizer10);
			stackLayout5.Children.Add(label10);
			stackLayout6.Children.Add(stackLayout5);
			bindingExtension20.Path = "Equip";
			BindingBase binding20 = ((IMarkupExtension<BindingBase>)bindingExtension20).ProvideValue(null);
			sfListView.SetBinding(SfListView.ItemsSourceProperty, binding20);
			sfListView.SetValue(SfListView.AutoFitModeProperty, AutoFitMode.Height);
			sfListView.SetValue(SfListView.SelectionModeProperty, SelectionMode.Single);
			bindingExtension21.Path = "SelectedItem";
			BindingBase binding21 = ((IMarkupExtension<BindingBase>)bindingExtension21).ProvideValue(null);
			sfListView.SetBinding(SfListView.SelectedItemProperty, binding21);
			sfListView.SetValue(SfListView.SelectionBackgroundColorProperty, Color.Red);
			gridLayout.SetValue(GridLayout.SpanCountProperty, 8);
			sfListView.SetValue(SfListView.LayoutManagerProperty, gridLayout);
			IDataTemplate dataTemplate2 = dataTemplate;
			ShipSetting.<InitializeComponent>_anonXamlCDataTemplate_28 <InitializeComponent>_anonXamlCDataTemplate_ = new ShipSetting.<InitializeComponent>_anonXamlCDataTemplate_28();
			object[] array3 = new object[0 + 4];
			array3[0] = dataTemplate;
			array3[1] = sfListView;
			array3[2] = stackLayout6;
			array3[3] = this;
			<InitializeComponent>_anonXamlCDataTemplate_.parentValues = array3;
			<InitializeComponent>_anonXamlCDataTemplate_.root = this;
			dataTemplate2.LoadTemplate = new Func<object>(<InitializeComponent>_anonXamlCDataTemplate_.LoadDataTemplate);
			sfListView.SetValue(SfListView.ItemTemplateProperty, dataTemplate);
			stackLayout6.Children.Add(sfListView);
			this.SetValue(ContentPage.ContentProperty, stackLayout6);
		}

		// Token: 0x060000A3 RID: 163 RVA: 0x00018098 File Offset: 0x00016298
		private void __InitComponentRuntime()
		{
			this.LoadFromXaml(typeof(ShipSetting));
		}

		// Token: 0x02000029 RID: 41
		[CompilerGenerated]
		private sealed class <InitializeComponent>_anonXamlCDataTemplate_28
		{
			// Token: 0x060000A5 RID: 165 RVA: 0x000180C0 File Offset: 0x000162C0
			internal object LoadDataTemplate()
			{
				BindingExtension bindingExtension = new BindingExtension();
				Image image = new Image();
				BindingExtension bindingExtension2 = new BindingExtension();
				Label label = new Label();
				AbsoluteLayout absoluteLayout = new AbsoluteLayout();
				BindingExtension bindingExtension3 = new BindingExtension();
				Label label2 = new Label();
				StackLayout stackLayout = new StackLayout();
				Frame frame = new Frame();
				NameScope nameScope = new NameScope();
				NameScope.SetNameScope(frame, nameScope);
				frame.SetValue(View.MarginProperty, new Thickness(1.0));
				frame.SetValue(Xamarin.Forms.Layout.PaddingProperty, new Thickness(1.0));
				stackLayout.SetValue(StackLayout.SpacingProperty, 0.0);
				absoluteLayout.SetValue(View.HorizontalOptionsProperty, LayoutOptions.Center);
				absoluteLayout.SetValue(VisualElement.WidthRequestProperty, 36.0);
				absoluteLayout.SetValue(VisualElement.HeightRequestProperty, 36.0);
				bindingExtension.Path = "Image";
				BindingBase binding = ((IMarkupExtension<BindingBase>)bindingExtension).ProvideValue(null);
				image.SetBinding(Image.SourceProperty, binding);
				image.SetValue(VisualElement.WidthRequestProperty, 36.0);
				image.SetValue(VisualElement.HeightRequestProperty, 36.0);
				absoluteLayout.Children.Add(image);
				bindingExtension2.Path = "num";
				BindingBase binding2 = ((IMarkupExtension<BindingBase>)bindingExtension2).ProvideValue(null);
				label.SetBinding(Label.TextProperty, binding2);
				label.SetValue(View.HorizontalOptionsProperty, LayoutOptions.EndAndExpand);
				label.SetValue(View.VerticalOptionsProperty, LayoutOptions.EndAndExpand);
				label.SetValue(Label.TextColorProperty, Color.White);
				label.SetValue(VisualElement.BackgroundColorProperty, Color.Gray);
				BindableObject bindableObject = label;
				BindableProperty fontSizeProperty = Label.FontSizeProperty;
				IExtendedTypeConverter extendedTypeConverter = new FontSizeConverter();
				string value = "10";
				XamlServiceProvider xamlServiceProvider = new XamlServiceProvider();
				Type typeFromHandle = typeof(IProvideValueTarget);
				int length;
				object[] array = new object[(length = this.parentValues.Length) + 4];
				Array.Copy(this.parentValues, 0, array, 4, length);
				object[] array2 = array;
				array2[0] = label;
				array2[1] = absoluteLayout;
				array2[2] = stackLayout;
				array2[3] = frame;
				object service;
				xamlServiceProvider.Add(typeFromHandle, service = new SimpleValueTargetProvider(array2, Label.FontSizeProperty, nameScope));
				xamlServiceProvider.Add(typeof(IReferenceProvider), service);
				Type typeFromHandle2 = typeof(IXamlTypeResolver);
				XmlNamespaceResolver xmlNamespaceResolver = new XmlNamespaceResolver();
				xmlNamespaceResolver.Add("", "http://xamarin.com/schemas/2014/forms");
				xmlNamespaceResolver.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
				xmlNamespaceResolver.Add("prism", "clr-namespace:Prism.Mvvm;assembly=Prism.Forms");
				xmlNamespaceResolver.Add("syncfusion", "clr-namespace:Syncfusion.ListView.XForms;assembly=Syncfusion.SfListView.XForms");
				xamlServiceProvider.Add(typeFromHandle2, new XamlTypeResolver(xmlNamespaceResolver, typeof(ShipSetting.<InitializeComponent>_anonXamlCDataTemplate_28).GetTypeInfo().Assembly));
				xamlServiceProvider.Add(typeof(IXmlLineInfoProvider), new XmlLineInfoProvider(new XmlLineInfo(87, 44)));
				bindableObject.SetValue(fontSizeProperty, extendedTypeConverter.ConvertFromInvariantString(value, xamlServiceProvider));
				label.SetValue(AbsoluteLayout.LayoutBoundsProperty, new Rectangle(0.0, 0.0, 0.95, 0.95));
				label.SetValue(AbsoluteLayout.LayoutFlagsProperty, AbsoluteLayoutFlags.SizeProportional);
				absoluteLayout.Children.Add(label);
				stackLayout.Children.Add(absoluteLayout);
				bindingExtension3.Path = "Name";
				BindingBase binding3 = ((IMarkupExtension<BindingBase>)bindingExtension3).ProvideValue(null);
				label2.SetBinding(Label.TextProperty, binding3);
				label2.SetValue(View.HorizontalOptionsProperty, LayoutOptions.Center);
				label2.SetValue(Label.LineBreakModeProperty, LineBreakMode.NoWrap);
				BindableObject bindableObject2 = label2;
				BindableProperty fontSizeProperty2 = Label.FontSizeProperty;
				IExtendedTypeConverter extendedTypeConverter2 = new FontSizeConverter();
				string value2 = "8";
				XamlServiceProvider xamlServiceProvider2 = new XamlServiceProvider();
				Type typeFromHandle3 = typeof(IProvideValueTarget);
				int length2;
				object[] array3 = new object[(length2 = this.parentValues.Length) + 3];
				Array.Copy(this.parentValues, 0, array3, 3, length2);
				object[] array4 = array3;
				array4[0] = label2;
				array4[1] = stackLayout;
				array4[2] = frame;
				object service2;
				xamlServiceProvider2.Add(typeFromHandle3, service2 = new SimpleValueTargetProvider(array4, Label.FontSizeProperty, nameScope));
				xamlServiceProvider2.Add(typeof(IReferenceProvider), service2);
				Type typeFromHandle4 = typeof(IXamlTypeResolver);
				XmlNamespaceResolver xmlNamespaceResolver2 = new XmlNamespaceResolver();
				xmlNamespaceResolver2.Add("", "http://xamarin.com/schemas/2014/forms");
				xmlNamespaceResolver2.Add("x", "http://schemas.microsoft.com/winfx/2009/xaml");
				xmlNamespaceResolver2.Add("prism", "clr-namespace:Prism.Mvvm;assembly=Prism.Forms");
				xmlNamespaceResolver2.Add("syncfusion", "clr-namespace:Syncfusion.ListView.XForms;assembly=Syncfusion.SfListView.XForms");
				xamlServiceProvider2.Add(typeFromHandle4, new XamlTypeResolver(xmlNamespaceResolver2, typeof(ShipSetting.<InitializeComponent>_anonXamlCDataTemplate_28).GetTypeInfo().Assembly));
				xamlServiceProvider2.Add(typeof(IXmlLineInfoProvider), new XmlLineInfoProvider(new XmlLineInfo(89, 113)));
				bindableObject2.SetValue(fontSizeProperty2, extendedTypeConverter2.ConvertFromInvariantString(value2, xamlServiceProvider2));
				stackLayout.Children.Add(label2);
				frame.SetValue(ContentView.ContentProperty, stackLayout);
				return frame;
			}

			// Token: 0x04000054 RID: 84
			internal object[] parentValues;

			// Token: 0x04000055 RID: 85
			internal ShipSetting root;
		}
	}
}
